Action Brings the Super Countdown application to the front. Launches it if neccessary.
Returns True.
Examples superCountdown.bringToFront ()
» true
Notes None.
See Also superCountdown.launch
Verb superCountdown.launch
Syntax superCountdown.launch ()
Parameters None.
Action Launches Super Countdown.
Returns True.
Examples superCountdown.launch ()
» true
Notes None.
See Also superCountdown.isRunning
superCountdown.quit
superCountdown.bringToFront
Verb superCountdown.isRunning
Syntax superCountdown.isRunning ()
Parameters None.
Action Queries as to whether or not Super Countdown is currently running.
Returns True is it is running, false if it isn't.
Examples superCountdown.isRunning ()
» true
Notes None.
See Also superCountdown.launch
superCountdown.quit
superCountdown.bringToFront
Verb superCountdown.quit
Syntax superCountdown.quit ()
Parameters None.
Action Quits Super Countdown.
Returns True.
Examples superCountdown.quit ()
» true
Notes None.
See Also superCountdown.isRunning
superCountdown.launch
Verb superCountdown.settime
Syntax superCountdown.quit ( seconds )
Parameters seconds is how many seconds you want to set the timer for. Must be an integer between zero and 36,000.
Action Sets the timer to the specified number of seconds.
Returns True is successful. Look at the file included with the Super Countdown distribution called "Result Codes for Events" for other possibilities.
Examples superCountdown.settime ( "120" )
» true «the timer has been set to 2 minutes
Notes This will only work if the timer is in countdown mode. This is the default mode for new windows and when the application launches.
See Also superCountdown.start
superCountdown.stop
Verb superCountdown.start
Syntax superCountdown.start ()
Parameters None.
Action Starts the timer.
Returns True is successful. Look at the file included with the Super Countdown distribution called "Result Codes for Events" for other possibilities.
Examples superCountdown.start ()
» true
Notes If the timer is in countdown mode a time needs to be set first. If the timer is in countup mode, it will resume from the current time on the display.
See Also superCountdown.settime
superCountdown.stop
superCountdown.timeleft
Verb superCountdown.stop
Syntax superCountdown.stop ()
Parameters None.
Action Stops the timer.
Returns True is successful. Look at the file included with the Super Countdown distribution called "Result Codes for Events" for other possibilities.
Examples superCountdown.stop ()
» true
Notes Timer must already be running for this to work.
See Also superCountdown.start
superCountdown.timeleft
Verb superCountdown.timeleft
Syntax superCountdown.timeleft ()
Parameters None.
Action Asks the timer what the current time is on the display.
Returns The displayed time in seconds. Look at the file included with the Super Countdown distribution called "Result Codes for Events" for other possibilities.
Examples superCountdown.timeleft ()
» 121 «the timer currently reads 2 minutes and 1 second.
Notes You don't have to be in countdown mode for this to work. It will also return the displayed time in countup mode.